#!/usr/bin/env node

const log = console.log,
      chalk = require('chalk'),
      circle = require('circle');

try{
  log(chalk.greenBright(`diameter:     \t${circle.diameter(20)}`));
  log(chalk.greenBright(`area:         \t${circle.area(20)}`));
  log(chalk.greenBright(`circumference:\t${circle.circumference(20)}`));
}catch(e){
  console.log('something wrong!');
}
